package com.yk.i_wms.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yk.i_wms.common.model.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 物料信息
 *
 * @author hbq
 * @date 2021-03-29 15:01:17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ums_item")
public class UmsItem extends SuperEntity {
    private static final long serialVersionUID=1L;

    @Excel(name = "料号")
    @ApiModelProperty(value = "料号")
    private String itemCode;
    @Excel(name = "物料描述")
    @ApiModelProperty(value = "物料描述")
    private String itemName;
    @Excel(name = "物料规格")
    @ApiModelProperty(value = "物料规格")
    private String itemSpec;
    @Excel(name = "客户编号")
    @ApiModelProperty(value = "客户编号")
    private String custCode;
    @Excel(name = "供应商编号")
    @ApiModelProperty(value = "供应商编号")
    private String supplierCode;
    @Excel(name = "mpn")
    @ApiModelProperty(value = "mpn")
    private String mpn;
    @Excel(name = "制造商")
    @ApiModelProperty(value = "制造商")
    private String manufacturer;
    @Excel(name = "是否湿敏",replace ={"否_false","是_true"})
    @ApiModelProperty(value = "是否湿敏")
    private Boolean isMsd;
    @Excel(name = "湿敏等级")
    @ApiModelProperty(value = "湿敏等级")
    private String msdCode;
    @Excel(name = "物料等级")
    @ApiModelProperty(value = "物料等级")
    private String itemLevel;
    @Excel(name = "有效期")
    @ApiModelProperty(value = "有效期")
    private Integer validUntil;
    @Excel(name = "包装规格")
    @ApiModelProperty(value = "包装规格")
    private String packSpec;
    @Excel(name = "连板数")
    @ApiModelProperty(value = "连板数")
    private Integer connectPlate;
    @Excel(name = "最小包装数")
    @ApiModelProperty(value = "最小包装数")
    private Integer minPackNum;
    @Excel(name = "安全库存")
    @ApiModelProperty(value = "安全库存")
    private String safeStock;
    @Excel(name = "单位")
    @ApiModelProperty(value = "单位")
    private String itemUnit;
    @Excel(name = "物料组")
    @ApiModelProperty(value = "物料组")
    private String itemGroup;
    @Excel(name = "货币单位")
    @ApiModelProperty(value = "货币单位")
    private String moneyUnit;
    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;
    @Excel(name = "条码规则")
    @ApiModelProperty(value = "条码规则")
    private String barcodeRules;
    @Excel(name = "免检标识",replace ={"否_false","是_true"})
    @ApiModelProperty(value = "免检标识")
    private Boolean isExemptCheck;
    @Excel(name = "采购周期")
    @ApiModelProperty(value = "采购周期")
    private Integer receiveCycle;
}
